<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>花式链接</title>
		<style type="text/css">
			div{
				width: 300px;
				height: 330px;
				border: 1px solid yellow;
				
				text-align: center;
				margin: auto;
				padding-top: 10px;
				position: relative;
			}
			#q{
				background-color: #F08080;
				width: 100px;
				height: 100px;
				float: left;
				
				
			}
			#qq{
				background-color: #F08080;
				width: 100px;
				height: 100px;
				
				position: absolute;
				left: 200px;
			}
			#qqq{
				background-color: #F08080;
				width: 100px;
				height: 100px;
				position: absolute;
				top: 120px;
				left: 100px;
				
			}
			#qqqq{
				background-color: #F08080;
				width: 100px;
				height: 100px;
				position: absolute;
				top: 230px;
				left: 0px;
				
			}
			#qqqqq{
				background-color: #F08080;
				width: 100px;
				height: 100px;
				position: absolute;
				top: 230px;
				
			}
			a{
				text-decoration: none;
			}
			a:hover{
				background-color: blue;
			}
		</style>
	</head>
	<body>
		<div>
			
			<a href="#" id="q">
				<p>链接1</p>
			</a>
			<a id="qq" href="#">
				<p>链接2</p>
			</a>
			<a id="qqq" href="#">
				<p>链接3</p>
			</a>
			<a id="qqqq" href="#">
				<p>链接4</p>
			</a>
			<a id="qqqqq" href="#">
				<p>链接5</p>
			</a>
		</div>
	</body>
</html>
